<template>
    <div>
        <!-- 人气推荐列表头部 -->
        <div class="calentura-header-container">
            <div class="calentura-header-wrapper">
                <div class="calentura-header-back" @click="onBack">返回</div>
                <div class="calentura-header-title">人气推荐</div>
            </div>
        </div>
        <!-- 人气推荐内容 -->
        <div class="calenturalist-container">
            <Calentura v-for="(item,index) in mycalentura "
                :key="index"
                :item="item"
                @todetalle="todetalle"
            />
        </div>
    </div>
</template>
<script>
import '../../css/homeconmecss/bargain.css'
import Calentura from '../../components/homecommon/Regatearpag/Calentura'
export default {
    components:{
        Calentura
    },
    methods:{
        onBack(){
            this.$router.go(-1)
        },
        todetalle(item){
            this.$router.push({
                path:"/detalle",
                query:{
                    item:item
                }
            })
        }
    },
    computed: {
        mycalentura:function(){
            return this.$store.state.Listmodules.calentura
        }
    },
}
</script>
<style>

</style>